package com.example.operation.controller;

import cn.hutool.core.thread.DelegatedExecutorService;
import com.example.operation.dto.DispatchCityDto;
import com.example.operation.dto.DispatchExpressDto;
import com.example.operation.service.DispatchExpressService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName: DispatchExpressController
 * @Description:
 * @Author
 * @Date 2021/11/24
 * @Version 1.0
 */
/*

@Api(tags = "快递物流模块")
@RestController
@RequestMapping("/dispatchExpress")
public class DispatchExpressController {

    @Autowired
    private DispatchExpressService dispatchExpressService;


    @ApiOperation(value = "配送方式配送到修改接口")
    @PutMapping("/update")
    public Integer update(@RequestBody DispatchExpressDto dispatchExpressDto){
        return dispatchExpressService.update(dispatchExpressDto);
    }


    @ApiOperation(value = "配送方式根据id删除接口")
    @DeleteMapping("/delectById")
    public int delectById(@RequestParam("id") Integer id){
        return dispatchExpressService.delectDyId(id);
    }

}
*/
